home *** CD-ROM | disk | FTP | other *** search
-
-
-
- LLLLDDDDTTTTBBBBRRRREEEEAAAADDDD((((3333XXXX)))) LLLLDDDDTTTTBBBBRRRREEEEAAAADDDD((((3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- ldtbread - read an indexed symbol table entry of a common object file
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssttttddddiiiioooo....hhhh>>>>
- ####iiiinnnncccclllluuuuddddeeee <<<<ffffiiiilllleeeehhhhddddrrrr....hhhh>>>>
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyymmmmssss....hhhh>>>>
- ####iiiinnnncccclllluuuuddddeeee <<<<llllddddffffccccnnnn....hhhh>>>>
-
- iiiinnnntttt llllddddttttbbbbrrrreeeeaaaadddd ((((ldptr, symindex, symbol))))
- LLLLDDDDFFFFIIIILLLLEEEE ****ldptr;;;;
- lllloooonnnngggg symindex;;;;
- ppppSSSSYYYYMMMMRRRR symbol;;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _l_d_t_b_r_e_a_d reads the symbol table entry specified by _s_y_m_i_n_d_e_x of the common
- object file currently associated with _l_d_p_t_r into the area of memory
- beginning at _s_y_m_b_o_l.
-
- _l_d_t_b_r_e_a_d returns SSSSUUUUCCCCCCCCEEEESSSSSSSS or FFFFAAAAIIIILLLLUUUURRRREEEE. If _s_y_m_i_n_d_e_x is greater than the
- number of symbols in the object file or if it cannot read the specified
- symbol table entry, _l_d_t_b_r_e_a_d fails.
-
- The local and external symbols are concatenated into a linear list.
- Symbols are accessible from symnum zero to
- _S_Y_M_H_E_A_D_E_R(_l_d_p_t_r)._i_s_y_m_M_a_x+_S_Y_M_H_E_A_D_E_R(_l_d_p_t_r)._i_e_x_t_M_a_x. The index and iss
- fields of the SYMR are made absolute (rather than file relative) so that
- routines _l_d_g_e_t_n_a_m_e(3X), _l_d_g_e_t_a_u_x(3X), and ldtbread (this routine) proceed
- normally given those indices. Only the ``sym'' part of externals is
- returned.
-
- NNNNOOOOTTTTEEEE: The first symbol in the symbol table has an index of _z_e_r_o.
-
- The program must allocate space big enough for a SSSSYYYYMMMMRRRR and point the ppppSSSSYYYYMMMMRRRR
- argument at the space before calling _l_d_t_b_r_e_a_d.
-
- The program must be loaded with the object file access routine library
- lllliiiibbbbmmmmlllldddd....aaaa.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- ldclose(3X), ldgetname(3X), ldopen(3X), ldtbseek(3X), ldfcn(4).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-